using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
using Sync.DAO;

namespace eTMS.Services{
	/********************************BEGIN SyncLogsServiceBase****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:21/03/2011 24:09:58</para>
	/// <para>Class Name: SyncLogsServiceBase</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class SyncLogsService : ISyncLogsService{

		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:21/03/2011 24:09:58</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: SyncLog_ID</para>
		/// <para>Output: SyncLogsEntity</para>
		///</summary>
		public SyncLogsEntity SelectOne(long SyncLog_ID){
			SyncLogsDAO dao = new SyncLogsDAO();
			return dao.SelectOne(SyncLog_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:21/03/2011 24:09:58</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of SyncLogsEntity</para>
		///</summary>
		public List<SyncLogsEntity> SelectAll(){
			SyncLogsDAO dao = new SyncLogsDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:21/03/2011 24:09:58</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			SyncLogsDAO dao = new SyncLogsDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:21/03/2011 24:09:58</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of SyncLogsEntity</para>
		///</summary>
		public List<SyncLogsEntity> SelectAllFilter(string strFilter){
			SyncLogsDAO dao = new SyncLogsDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:21/03/2011 24:09:58</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			SyncLogsDAO dao = new SyncLogsDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:21/03/2011 24:09:58</para>
		/// <para>Name: Save</para>
		/// <para>Input: SyncLogsEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(SyncLogsEntity o){
			SyncLogsDAO dao = new SyncLogsDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:21/03/2011 24:09:58</para>
		/// <para>Name: Save</para>
		/// <para>Input: SyncLogsEntity</para>
		/// <para>Output: SyncLogsEntity</para>
		///</summary>
		public SyncLogsEntity SaveRet(SyncLogsEntity o){
			SyncLogsDAO dao = new SyncLogsDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:21/03/2011 24:09:58</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of SyncLogsEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<SyncLogsEntity> list){
			SyncLogsDAO dao = new SyncLogsDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:21/03/2011 24:09:58</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of SyncLogsEntity</para>
		/// <para>Output: List of SyncLogsEntity</para>
		///</summary>
		public List<SyncLogsEntity> SaveListRet(List<SyncLogsEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:21/03/2011 24:09:58</para>
		/// <para>Name: Update</para>
		/// <para>Input: SyncLogsEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(SyncLogsEntity o){
			SyncLogsDAO dao = new SyncLogsDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:21/03/2011 24:09:58</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of SyncLogsEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<SyncLogsEntity> list){
			SyncLogsDAO dao = new SyncLogsDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:21/03/2011 24:09:58</para>
		/// <para>Name: UpdateRow_ID</para>
		/// <para>Input: NewRow_ID,SyncLog_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateRow_ID(int NewRow_ID,long SyncLog_ID){
			SyncLogsDAO dao = new SyncLogsDAO();
			return dao.UpdateRow_ID(NewRow_ID,SyncLog_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:21/03/2011 24:09:58</para>
		/// <para>Name: UpdateTable_ID</para>
		/// <para>Input: NewTable_ID,SyncLog_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateTable_ID(int NewTable_ID,long SyncLog_ID){
			SyncLogsDAO dao = new SyncLogsDAO();
			return dao.UpdateTable_ID(NewTable_ID,SyncLog_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:21/03/2011 24:09:58</para>
		/// <para>Name: UpdateUserAction</para>
		/// <para>Input: NewUserAction,SyncLog_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateUserAction(Byte NewUserAction,long SyncLog_ID){
			SyncLogsDAO dao = new SyncLogsDAO();
			return dao.UpdateUserAction(NewUserAction,SyncLog_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:21/03/2011 24:09:58</para>
		/// <para>Name: Delete</para>
		/// <para>Input: SyncLogsEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(SyncLogsEntity o){
			SyncLogsDAO dao = new SyncLogsDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:21/03/2011 24:09:58</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: SyncLog_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(long SyncLog_ID){
			SyncLogsDAO dao = new SyncLogsDAO();
			return dao.DeleteByID(SyncLog_ID);
		}
		#endregion

		#region Select,delete by SyncLog_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END SyncLogsWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

